home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000015_era@eracc.hypermart.net_Tue Oct 15 13:30:07 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
54 lines
Article: 13778 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!rip!newsfeeds-atl2!news.webusenet.com!pc01.webusenet.com!news.bellsouth.net.POSTED!not-for-mail
Message-ID: <2719663.PLrj5Ze9za@era1.eracc.UUCP>
From: ERA <era@eracc.hypermart.net>
Subject: Re: telneting through a cronjob
Newsgroups: comp.os.linux.setup,comp.protocols.kermit.misc
Followup-To: comp.os.linux.setup
References: <Pine.GSO.4.21.0210141710440.14291-100000@sjau.ifi.uio.no>
Lines: 30
Organization: ERA Computer Consulting
User-Agent: KNode/0.6.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Is-It-News: Yes
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Tue, 15 Oct 2002 13:23:22 EDT
Date: Tue, 15 Oct 2002 12:27:48 -0500
Xref: newsmaster.cc.columbia.edu comp.os.linux.setup:452276 comp.protocols.kermit.misc:13778
Thomas Fyhn, thomasfy@ifi.uio.no wrote:
> I am trying to set up a cronjob that involves telneting onto a
> server. First I do the following command: telnet 123.123.123.123
> Then I get promted in the console:
> user: <here I enter username>
> password: <passwoed>
> Does anyone know how i get a cronjob (or something like that) to
> enter text right to the console? I guess that is what i need to do?
This can be done with c-kermit scripting. If you install a secure
telnet server on the "other" end you can even have secure telnet
sessions. If you (aren't going to | don't need to) worry about
securing the session then just use vanilla c-kermit.
http://www.columbia.edu/kermit/
I *strongly* recommend buying the book for sale at the site above.
The cost of the book is well worth the time saved trying to figure
out the script commands without it.
Gene <gene@eracc.hypermart.net>
SCO Group Authorized Partner - OpenServer, UnixWare & SCO Linux
--
Linux era1.eracc.UUCP 2.4.13 i686
12:20pm up 19 days, 19:12, 4 users, load average: 0.21, 0.17, 0.27
ERA Computer Consulting http://eracc.hypermart.net/
eCS, OS/2, Linux, OpenServer, UnixWare, SCO Linux resellers